home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / tmc11.zip / TMC.DOC < prev    next >
Text File  |  1993-01-03  |  9KB  |  227 lines

  1.  
  2. TodayMonthChange (TMC)             Version 1.1   01/03/93           Page 1
  3.  
  4. DISCLAIMER   . . . . . . . . . . . . . . . . . . . . . . . . .  1
  5. LICENSE  . . . . . . . . . . . . . . . . . . . . . . . . . . .  1
  6. INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . .  2
  7. TMC.EXE OPERATIONS . . . . . . . . . . . . . . . . . . . . . .  2
  8. TMC.CFG  . . . . . . . . . . . . . . . . . . . . . . . . . . .  2
  9. INSTALLATION . . . . . . . . . . . . . . . . . . . . . . . . .  3
  10. REVISION HISTORY . . . . . . . . . . . . . . . . . . . . . . .  3
  11. REGISTER FORM  . . . . . . . . . . . . . . . . . . . . . . . .  4
  12.  
  13.  
  14. DISCLAIMER
  15.  
  16.     This software is provided without any guarantee, either expressed or
  17.     implied.  All responsibilities for its use rest with the user of the
  18.     software and not the author. The author makes no warranties with
  19.     respect to this program as to its usability, safety to data, or any
  20.     results deriving from its use, and accepts no responsibility for any
  21.     loss or damages directly or indirectly caused by using it.
  22.  
  23.     TMC software and this document are (C) Copyright 1992-1993
  24.     by Cam DeBuck.  All rights reserved World Wide.
  25.  
  26.  
  27. LICENSE
  28.  
  29.     TMC is not in the Public Domain.  TMC is not free.
  30.     Non-registered users are granted a limited, 30-day license to determine
  31.     whether or not the program meets their needs.  Continued use of TMC
  32.     beyond the 30-day evaluation time period requires registration of the
  33.     program.  Use of non-registered copies of TMC beyond the original
  34.     evaluation period is strictly prohibited.  No one may modify TMC for
  35.     any reason, in any way, including but not limited to decompiling-
  36.     compiling, patching, disassembling, or reverse engineering the program.
  37.     TMC may be copied and distributed to others, subject to the above
  38.     restrictions and the following:
  39.  
  40.       * TMC must be copied in unmodified form, including the file
  41.         containing this license information.
  42.       * Complete TMC documentation must be included.
  43.       * No copying fee of any type may be assessed other than basic
  44.         charges for the cost of the copying medium.
  45.       * TMC may not be distributed with any other software or
  46.         hardware product(s) without the express written permission of
  47.         Cam DeBuck.
  48.  
  49.     SysOps (bulletin board System Operators) may make TMC available for
  50.     downloading by their users as long as all above conditions are met.
  51.  
  52.     Commercial Distributors of Public Domain, ShareWare, or User Supported
  53.     software may distribute TMC subject to the above conditions only after
  54.     obtaining specific written permission from Cam DeBuck and filling out
  55.     a registration form for upgrade notifications.  This condition
  56.     supersedes any and all previous agreements.
  57.  
  58.  
  59.  
  60. TodayMonthChange (TMC)             Version 1.1   01/03/93           Page 2
  61.  
  62. INTRODUCTION
  63.  
  64.       This program is designed to automatically erase the previous month's
  65.   TODAY.MON data file, where MON is one of JAN FEB MAR ...... DEC, and
  66.   then unzip the appropriate TODAY.MON data file.  The DAY906 files when
  67.   fully unzipped take over 3 megs of disk space for all twelve months,
  68.   with this program you can reduce that space requirement to the 300k
  69.   range for just one month at a time.  TMC makes use of the Registration
  70.   Key System for Programmers.
  71.  
  72. TMC.EXE OPERATIONS
  73.  
  74.   1. When run on the 1st day of the month, deletes the previous months
  75.      TODAY.MON if it exists.  Calls PKUNZIP to extract the current months
  76.      data file.  All error handling on the extract is handled by PKUNZIP.
  77.      Exits with errorlevel set to 1.
  78.  
  79.   2. Sets DOS error level to day of the month if not the 1st and no
  80.      optional month command line paramater was passed to the program.
  81.      Handy if you need to run a program on a particular day of the month.
  82.      With the errorlevel check you can determine which day of the month it
  83.      is, TMC always returns the day of the month when run without a
  84.      command line parameter.
  85.  
  86.   3. When optional month command line paramater is passed; checks for a
  87.      valid month in the 1 thru 12 range,  deletes the month prior to the
  88.      valid month.  Calls PKUNZIP to extract the option month data file.
  89.      Exits with errorlevel set to zero, since this would not normally be
  90.      a batch operation.
  91.  
  92. Sample TMC.CFG
  93. ---------------
  94. Cam DeBuck
  95. 0
  96. d:\today
  97. e:\bbsfiles\day906-1
  98. e:\bbsfiles\day906-2
  99. e:\bbsfiles\day906-3
  100. e:\bbsfiles\day906-4
  101. e:\bbsfiles\day906-5
  102. e:\bbsfiles\day906-6
  103. ----------------
  104. Line 1: Registration Name (Case sensitive)
  105. Line 2: Registration CRC
  106. Line 3: Drive and path for extracted data files (TODAYBBS)
  107. Line 4: Drive and path to zip file containing Jan & Feb data
  108. Line 5: Drive and path to zip file containing Mar & Apr data
  109. Line 6: Drive and path to zip file containing May & Jun data
  110. Line 7: Drive and path to zip file containing Jul & Aug data
  111. Line 8: Drive and path to zip file containing Sep & Oct data
  112. Line 9: Drive and path to zip file containing Nov & Dec data
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121. TodayMonthChange (TMC)             Version 1.1   01/03/93           Page 3
  122.  
  123. INSTALLATION
  124.  
  125.       The mandatory config file ( TMC.CFG ) must be located in the current
  126.   directory that you run TMC.EXE from.  The config  is not searched for.
  127.   You may place TMC.EXE into any directory that is in your DOS path or it
  128.   may be run passing the EXE path on the command line, or lastly, it is in
  129.   the current directory.
  130.  
  131.   NOTE:  TMC v1.0 users MUST Delete TMC.COM, DOS will always execute the
  132.          COM file if it finds it in the same directory with the EXE
  133.  
  134. To use TMC to see if it is the 15th of the month use the following stub
  135. in a batch file.
  136.  
  137. TMC
  138. if errorlevel 15 if NOT errorlevel 16 goto fifteen
  139.  
  140. The above line translates to:
  141.  
  142. If errorlevel is greater than or equal to 15 and errorlevel is less than
  143. 16 then do it.  By changing the numbers you could check for a range of
  144. dates.
  145.  
  146. To check for range of 20th to 25th.
  147.  
  148. if errorlevel 20 if NOT errorlevel 26 goto twenty
  149.  
  150. TMC 1
  151.  
  152. The above would delete TODAY.DEC from the dir path pointed to in line 3
  153. of TMC.CFG, extract TODAY.JAN from the zip file pointed to in line 4 and
  154. place it into the dir path found in line 3.
  155.  
  156. REVISION HISTORY
  157.  
  158. v1.0 - Initial release - 08/08/92
  159.  
  160. v1.1 - Correction automatic January processing
  161.      - Addition of Registration Key System for Programmers
  162.  
  163.  
  164. I have tested this program with DOS 5.0, DV and a 5 node Lantastic
  165. system without detecting any problems, but as with any software, wide
  166. variations in system configurations can sometimes cause unexpected or
  167. unforseeable results.
  168.  
  169. If this program is useful to you, a modest fee of $5.00 would be in order.
  170. I may be contacted at the address shown below, by message in the U'NI
  171. network or MSI Headquarters BBS.
  172.  
  173.  
  174. Any bug reports, comments or suggestion are solicited and welcome!
  175.  
  176. Thanks,
  177.  
  178. Cam DeBuck
  179. 230 Medford Drive
  180. Fayetteville, GA  30214-1948
  181.  
  182. TodayMonthChange (TMC)             Version 1.1   01/03/93           Page 4
  183.  
  184.  
  185.                             TMC REGISTRATION FORM
  186.                            -----------------------
  187.  
  188. (Please type or print)                          Date: _____________________
  189.  
  190. First name: _________________________  Last: ______________________________
  191.  
  192.    Address: _____________________________________________
  193.  
  194.             _____________________________________________
  195.  
  196.       City: ________________________      State/province: _________________
  197.  
  198.    Country: ________________________     ZIP/postal code: _________________
  199.  
  200. Where did you find TMC? ___________________________________________________
  201.  
  202. Registration Name:_________________________________________________________
  203.                                (Case SENSITIVE!)
  204.  
  205.                                           TOTAL amount enclosed $  5.00
  206.  
  207.  
  208. *****************************************
  209. * Payment must be check or money order. *
  210. *****************************************
  211.  
  212. Comments: _________________________________________________________________
  213.           
  214.           _________________________________________________________________
  215.  
  216.  
  217. Write check or money order out for $5.00 to Cam DeBuck and send to:
  218.  
  219.                           Cam DeBuck
  220.                           230 Medford Drive
  221.                           Fayetteville, GA  30214-1948
  222.  
  223. Please Allow 15 work days for your registered CRC to arrive in the mail.
  224. Thanks.
  225.  
  226.   All orders are rushed!
  227.